#include "headfiles.h"

using namespace std;

int main(int argc, char **argv) {
    if (argc != 2) {
        cout << "Usage: " << argv[0] << " string" << endl;
        return 0;
    }

    char str[255];
    strcpy(str, argv[1]);

    bool ret_code;
    SuffixNode *root;
    ret_code = createSuffixTree(str, root);

    ret_code = printSuffixTree(str, root);

    return 0;
}

